<?php

                     $current_menu = session('current_menu');
                     $current_root_menu=$current_menu->get_root();
?>
<h3><?php echo $current_root_menu->get_data('name');?></h3>
<ul class="nav">

    <?php
                     foreach ($current_root_menu->get_child() as $item) { ?>
    <li><a href="<?php echo $item->get_data('path');?>"><?php echo $item->get_data('name');?></a></li>
    <?php }?>
</ul>